package com.dong.module.menulog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dong.module.menulog.pojo.MenuLog;

public interface MenuLogService extends IService<MenuLog> {


    /**
     * 记录日志次数
     * @param foodId 菜单id
     * @return
     */
    int countLog(String foodId);

    /**
     * 保存日志
     * @param id 日志id
     * @param foodId 菜单id
     * @param description 描述
     * @param filename 图片
     */
    void save(String id, String foodId, String description, String filename);
}
